Computationally Efficient Simulation of Queues: The R Package queuecomputer
نویسندگان
چکیده
Large networks of queueing systems model important real-world systems such as MapReduce clusters, web-servers, hospitals, call-centers and airport passenger terminals. To model such systems accurately we must infer queueing parameters from data. Unfortunately, for many queueing networks there is no clear way to proceed with parameter inference from data. Approximate Bayesian computation could offer a straight-forward way to infer parameters for such networks if we could simulate data quickly enough. We present a computationally efficient method for simulating from a very general set of queueing networks with the R package queuecomputer. Remarkable speedups of more than 2 orders of magnitude are observed relative to the popular DES packages simmer and simpy. We replicate output from these packages to validate the package. The package is modular and integrates well with the popular R package dplyr. Complex queueing networks with tandem, parallel and fork/join topologies can easily be built with these two packages together. We show how to use this package with two examples: a call-centre and an airport terminal.
منابع مشابه
COMPUTATIONALLY EFFICIENT OPTIMUM DESIGN OF LARGE SCALE STEEL FRAMES
Computational cost of metaheuristic based optimum design algorithms grows excessively with structure size. This results in computational inefficiency of modern metaheuristic algorithms in tackling optimum design problems of large scale structural systems. This paper attempts to provide a computationally efficient optimization tool for optimum design of large scale steel frame structures to AISC...
متن کاملL. Breuer: Two Examples for Computationally Tractable Periodic Queues Two Examples for Computationally Tractable Periodic Queues
Abstract: In the present paper, the periodic queue is analyzed. This queue has a periodic BMAP arrival process, which is defined in this paper, and exponential service time distributions with service rates varying periodically in time. The transient distribution and several formulae for its efficient computation are derived. Furthermore, a stability condition in terms of arrival and service rat...
متن کاملImplementing Persistent O ( 1 ) Stacks and Queues in R
True to their functional roots, most R functions are side-effect-free, and users expect datatypes to be persistent. However, these semantics complicate the creation of efficient and dynamic data structures. Here, we describe the implementation of stack and queue data structures satisfying these conditions in R, available in the CRAN package rstackdeque. Guided by important work in purely functi...
متن کاملQueue Prediction: an efficient scheduler for fast ATM cell transmission
A central problem in ATM switches is the selection of cells to be transmitted on an output line. In general each line has a number of queues, all of which must be handled in a timely manner to provide throughput for each circuit and guarantee its required quality of service. While the problem of the queuing disciplines has been addressed, many of the solutions are computationally complex and ap...
متن کاملEfficient Models for Flexible Manipulators with Motors at the Joints
A computationally efficient recursive algorithm to model flexible manipulators is described in this paper. The dynamic effects, including gyroscopic terms, of the motors at the joints are fully taken into account. Symbolic simplification is used in a newly developed package (FLEXROB), whose performance in detailed reproduction of the dynamic effects due to the interplay between the motors and t...
متن کامل